﻿<%@ Control Language="VB" AutoEventWireup="false" CodeFile="SearchAllTrainingCourse.ascx.vb" 
    Inherits="WebForm_Main_SearchAllTrainingCourse" %>
<My:MyGridView ID="gvTrainingCourseInfo" SkinID="pager" runat="server" AllowHoverEffect="false"
    AllowHoverSelect="false" meta:resourcekey="gvTrainingCourseInfo" Width="100%" EmptyDataText="查無活動資料">
    <Columns>
      <asp:TemplateField HeaderText="<%$ Resources:StartDate %>">
            <ItemTemplate>
                  <%#Eval("StartDate", "{0:yyyy/MM/dd}")%>~<%#Eval("EndDate", "{0:yyyy/MM/dd}")%>
            </ItemTemplate>            
        </asp:TemplateField>
        <asp:BoundField DataField="GroupName" HeaderText="<%$ Resources:GroupName %>" />
        <asp:BoundField DataField="GroupTypeText" meta:resourcekey="bfGroupType" />
        <asp:BoundField DataField="PersonLimit" HeaderText="<%$ Resources:PersonLimit %>" />
        <asp:BoundField DataField="RegisterCount" HeaderText="<%$ Resources:RegisterCount %>" />
        <%--<asp:BoundField DataField="AllHour" HeaderText="<%$ Resources:AllHour %>" />--%>
<%--        <asp:BoundField DataField="StartDate" HeaderText="<%$ Resources:StartDate %>" DataFormatString="{0:d}" />
--%>        <asp:BoundField DataField="ClassPlace" HeaderText="<%$ Resources:ClassPlace %>" SortExpression="ClassPlace" />
        <%--<asp:BoundField DataField="Org" HeaderText="<%$ Resources:Org %>" SortExpression="Org" />--%>
        <asp:BoundField DataField="OrganizationName" HeaderText="<%$ Resources:OrganizationName %>" SortExpression="OrganizationName" />
    </Columns>
</My:MyGridView>
